how to find n smallest numbers in python